<template>
  <div>
    <div class="voice-sms">收不到短信？试试<span @click="getAuthCode">语音验证码</span></div>
    <tip-modal ref="tipModal"></tip-modal>
  </div>

</template>
<script>
  import {httpReq} from '@/common/api'
  import tipModal from '@/components/tipModal.vue'
  export default {
    name:'voiceAuthCode',
    components:{
      tipModal
    },
    methods:{
      showTip(){
        this.$refs.tipModal.confirm();
      },
      getAuthCode(){
        this.$emit('sendVoiceSms','voice');
      }
    }
  }
</script>
<style lang="stylus" scoped>
  @import "~style/varibles.styl"
  .voice-sms
    text-align right
    color $disabledText
    span
      color $textButton
</style>
